# setAddress Sets the address used with all TronWeb API's. Will not sign any transactions. ## Usage ```JavaScript TronWeb.setAddress(address); ``` ## Parameter | Parameter | Description | Data Type | | --------- | --------------------- | ------------------------- | | address | The address to be set | HexString / Base58 String | ## Returns No return value ## Example ```JavaScript //Example 1 >tronWeb.setAddress('TVJ6njG5EpUwJt4N9xjTrqU5za78cgadS2'); … >tronWeb.defaultAddress { hex: '41d3fd1b6f3f3a86303e2925844456c49876c4561f', base58: 'TVJ6njG5EpUwJt4N9xjTrqU5za78cgadS2' } //Example 2 >tronWeb.setAddress('41d3fd1b6f3f3a86303e2925844456c49876c4561f'); … >tronWeb.defaultAddress { hex: '41d3fd1b6f3f3a86303e2925844456c49876c4561f', base58: 'TVJ6njG5EpUwJt4N9xjTrqU5za78cgadS2' } ```