---
title: "POST /get_required_keys"
method: POST
path: "/get_required_keys"
---

# POST /get_required_keys

`POST /get_required_keys`

Returns the required keys needed to sign a transaction.

## Request body

- object
  - `transaction` Transaction, required
    - `expiration` string, required — Date/time string in the format YYYY-MM-DDTHH:MM:SS
    - `ref_block_num` integer, required
    - `ref_block_prefix` integer, required — 32-bit portion of block ID
    - `max_net_usage_words` union, required — A whole number
      - string
      - integer
    - `max_cpu_usage_ms` union, required — A whole number
      - string
      - integer
    - `delay_sec` integer, required
    - `context_free_actions` Action[], required
      - `account` union, required
        - string — String representation of privileged EOSIO name type
        - string — String representation of basic EOSIO name type, must be 12 characters and contain only a-z and 0-5
        - string — String representation of EOSIO bid name type, 1-12 characters and only a-z and 0-5 are allowed
        - string — String representation of EOSIO name type
      - `name` union, required
        - string — String representation of privileged EOSIO name type
        - string — String representation of basic EOSIO name type, must be 12 characters and contain only a-z and 0-5
        - string — String representation of EOSIO bid name type, 1-12 characters and only a-z and 0-5 are allowed
        - string — String representation of EOSIO name type
      - `authorization` Authority[], required
        - `actor` union, required
          - string — String representation of privileged EOSIO name type
          - string — String representation of basic EOSIO name type, must be 12 characters and contain only a-z and 0-5
          - string — String representation of EOSIO bid name type, 1-12 characters and only a-z and 0-5 are allowed
          - string — String representation of EOSIO name type
        - `permission` union, required
          - string — String representation of privileged EOSIO name type
          - string — String representation of basic EOSIO name type, must be 12 characters and contain only a-z and 0-5
          - string — String representation of EOSIO bid name type, 1-12 characters and only a-z and 0-5 are allowed
          - string — String representation of EOSIO name type
      - `data` object, required
      - `hex_data` string, required
    - `actions` Action[], required
      - `account` union, required
        - string — String representation of privileged EOSIO name type
        - string — String representation of basic EOSIO name type, must be 12 characters and contain only a-z and 0-5
        - string — String representation of EOSIO bid name type, 1-12 characters and only a-z and 0-5 are allowed
        - string — String representation of EOSIO name type
      - `name` union, required
        - string — String representation of privileged EOSIO name type
        - string — String representation of basic EOSIO name type, must be 12 characters and contain only a-z and 0-5
        - string — String representation of EOSIO bid name type, 1-12 characters and only a-z and 0-5 are allowed
        - string — String representation of EOSIO name type
      - `authorization` Authority[], required
        - `actor` union, required
          - string — String representation of privileged EOSIO name type
          - string — String representation of basic EOSIO name type, must be 12 characters and contain only a-z and 0-5
          - string — String representation of EOSIO bid name type, 1-12 characters and only a-z and 0-5 are allowed
          - string — String representation of EOSIO name type
        - `permission` union, required
          - string — String representation of privileged EOSIO name type
          - string — String representation of basic EOSIO name type, must be 12 characters and contain only a-z and 0-5
          - string — String representation of EOSIO bid name type, 1-12 characters and only a-z and 0-5 are allowed
          - string — String representation of EOSIO name type
      - `data` object, required
      - `hex_data` string, required
    - `transaction_extensions` Extension[]
      - union[]
        - union
          - integer
          - string
  - `available_keys` PublicKey[], required — Provide the available keys

## Response `200`

OK

- unknown

---

[API](https://skmtc.net/worldwide-asset-exchange/apis/chain-api.md) · [All operations](https://skmtc.net/worldwide-asset-exchange/apis/chain-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/worldwide-asset-exchange/chain-api/revisions/5bfa22186461/schema)
